package user_extend_info

// 表名也是cache的tag
var TableName = "user_extend_info"

// 用户物流信息表
type UserExtendInfo struct {
	Id          int64
	PartnerSign int64 `xorm:"varchar(64) notnull 'partner_sign'"`
	UserId      int64 `xorm:"integer notnull 'user_id'"`

	IsDefault int `xorm:"tinyint notnull 'is_default'"`

	Address  string `xorm:"varchar(128) notnull 'address'"`
	Email    string `xorm:"varchar(64) notnull 'email'"`
	Mobile   string `xorm:"varchar(64) notnull 'mobile'"`
	RealName string `xorm:"varchar(64) notnull 'real_name'"`
	ZipCode  string `xorm:"varchar(64) notnull 'zip_code'"`

	Status int `xorm:"tinyint notnull 'status'"`
}
